package com.huang.edustatistics.client;

import com.hunag.utils.R;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("service-ucenter")
@Component
public interface UcenterClient {

    @PostMapping("/educenter/ucenter-member/getRegisterNum/{day}")
    public R getRegisterNum(@PathVariable("day") String day);
}
